﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CTTinTuc.ascx.cs" Inherits="KTX_CTTinTuc" %>
<div class="col-xs-6 col-md-3" style="display: none">
    <asp:PlaceHolder ID="PlaceHolderRight" runat="server"></asp:PlaceHolder>
</div>

<div class="col-xs-6 col-md-9">
    <div class="page-header">
        <h1>
            <asp:Label ID="lblTieuDe" runat="server" Text=""></asp:Label>
        </h1>
    </div>
    <div class="panel panel-default">

        <div class="panel-body">
            <i class="fa fa-user"></i>Đăng bởi: <b>
                <asp:Label ID="lblNguoiThongBao" runat="server"></asp:Label>
            </b>
            | <i class="fa fa-calendar"></i>Ngày đăng:
            <asp:Label ID="lblNgayDang" runat="server"></asp:Label>
            <hr />
            <asp:Literal ID="lblNoiDung" runat="server"></asp:Literal>

        </div>
    </div>

    <div class="page-header">
        <h1>
            <small>TIN TỨC KHÁC
            </small>

            <small class="pull-right1"><a href="Default.aspx?tab=tintuc" style="font-size: 15px;">Xem tất cả <i class="fa fa-arrow-right"></i></a></small>
        </h1>
    </div>
    <ul>
        <asp:Repeater ID="rptItems" runat="server">
            <ItemTemplate>
                <li>

                    <h4 class="media-heading"><a href="Default.aspx?tab=cttintuc&IDTinTuc=<%#Eval("IDTinTuc") %>" rel="tooltip" title="<%#Eval("TieuDe") %>"><%#Eval("TieuDe") %> </a>
                        <small>bởi <b><%#Eval("TacGia") %></b>
                            <i class="fa fa-calendar"></i>

                            <time class="timeago" datetime="<%#Eval("NgayDang") %>" rel="tooltip" title="<%#Eval("NgayDang") %>"><%#Eval("NgayDang") %></time>

                        </small>
                    </h4>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
</div>
<div class="col-xs-6 col-md-3">
    <div class="panel panel-primary">
        <div class="panel-heading">TIN NỔI BẬT</div>
        <div class="panel-body">
            <ul class="list-unstyled">
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <li>
                            <a href="Default.aspx?tab=cttintuc&IDTinTuc=<%#Eval("IDTinTuc") %>" rel="tooltip" title="<%#Eval("TieuDe") %>"><%#Eval("TieuDe") %> </a>
                            (Ngày: <%#Eval("NgayDang","{0:d}") %>)
                        </li>
                    </ItemTemplate>
                </asp:Repeater>

            </ul>

        </div>
    </div>
</div>

<script type="text/javascript">
    $(document).ready(function () {
        $("#m-tintuc").addClass("active");
    });
</script>
